import request from '@/common/request'

export function listQuestionaires(data) {
    return request({
        url: '/data/questionaires/index',
        method: 'get',
        params: data
    })
}

export function createQuestionaires(data) {
    return request({
        url: '/data/questionaires/create',
        method: 'post',
        data: data
    })
}

export function updateRqscQuestionaires(data) {
    return request({
        url: '/data/questionaires/update',
        method: 'post',
        data: data
    })
}

export function deleteQuestionaires(data) {
    return request({
        url: '/data/questionaires/delete',
        method: 'post',
        data: data
    })
}


export function readQuestionaires(data) {
    return request({
        url: '/data/questionaires/read',
        method: 'get',
        params: data
    })
}
